from rest_framework import serializers

from goods.models import SKUImage, SKU


class SKUImagesSerializer(serializers.ModelSerializer):
    class Meta:
        model = SKUImage
        fields = '__all__'

class SKUInfoSerializser(serializers.ModelSerializer):
    class Meta:
        model=SKU
        fields = "__all__"